package cn.itcast.pojo.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Map;

@Data
public class Sensor {

    @ApiModelProperty(value = "传感器id")
    private String id;

    @ApiModelProperty(value = "外箱体高度")
    private Integer height;

    @ApiModelProperty(value = "内箱体高度")
    private Integer innerHeight;

    @ApiModelProperty(value = "经纬度lng和lat")
    private Map<String,Double> position;

    @ApiModelProperty(value = "组id")
    private String groupId;

    @ApiModelProperty(value = "是否清理")
    private Boolean isCleaned;

    @ApiModelProperty(value = "传感器名称")
    private String name;

    @ApiModelProperty(value = "箱体重量 单位：kg")
    private Integer capacity;

    @ApiModelProperty(value = "安装时间")
    private Long installTime;

    @ApiModelProperty(value = "到期时间")
    private Long expireTime;

    @ApiModelProperty(value = "是否激活  true 激活  当remainingHeight 小于等于0 也是未激活")
    private Boolean activeState;

    @ApiModelProperty(value = "是否新设备 true是")
    private Boolean isNew;

    @ApiModelProperty(value = "测量高度 单位：毫米mm")
    private Integer remainingHeight;

    @ApiModelProperty(value = "箱体占比")
    private Double percentage;

    @ApiModelProperty(value = "箱体货量 单位：kg")
    private Double weight;

}
